<?php

$ROLE = $this->user->get_id_profile_type();

$twig->context_merge(GetTwigProfile($this->user));

$twig->context['commands'] = [
    Commands::COMMAND_HOME(),
    // Commands::COMMAND_BACK('main'),
    Commands::COMMAND_LOGOUT(),
];

$twig->context['tabs'] = [];

$twig->display('main/courses/index');

//gui_standard_link(null, Strings::LABEL_0216, FALSE, "$('#dialog_create_node').data({base:'" . BASE_WWW . "'}).dialog('open');");
//
//echo '<div id="dialog_create_node" title="' . Strings::LABEL_0009 . '"></div>';
//echo '<div id="dialog_update_node" title="' . Strings::LABEL_0033 . '"></div>';
//
//echo "<div class=\"nodes\">";
//$this->user->obj_Account->obj_Corporate->show_corporate_tree();
//echo "</div>";
//
//gui_standard_link(null, Strings::LABEL_0216, TRUE, "$('#dialog_create_node').data({base:'" . BASE_WWW . "'}).dialog('open');");
//
//global $MESSAGE_0026;
//gui_alert_dialog('dialog_delete_node', $MESSAGE_0026, Strings::LABEL_0219);
